using SqlSugar;

namespace Luka.Entities.Common;

/// <summary>
/// 选择项
///</summary>
[SugarTable("SelectOptions")]
[Tenant("Common")]
public class SelectOptions
{
    /// <summary>
    /// 主键Id
    ///</summary>
    [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
    public int Id { get; set; }

    /// <summary>
    /// 内容
    ///</summary>
    [SugarColumn(ColumnName = "Text", IsNullable = true)]
    public string? Text { get; set; }

    /// <summary>
    /// 状态
    ///</summary>
    [SugarColumn(ColumnName = "Status", IsNullable = true)]
    public int? Status { get; set; }

    /// <summary>
    /// 类别
    ///</summary>
    [SugarColumn(ColumnName = "Category", IsNullable = true)]
    public string? Category { get; set; }

    /// <summary>
    /// 创建时间
    ///</summary>
    [SugarColumn(ColumnName = "Created", IsNullable = true)]
    public DateTime? Created { get; set; }

    /// <summary>
    /// 创建人
    ///</summary>
    [SugarColumn(ColumnName = "Creater", IsNullable = true)]
    public string? Creater { get; set; }

    /// <summary>
    /// 修改时间
    ///</summary>
    [SugarColumn(ColumnName = "Updated", IsNullable = true)]
    public DateTime? Updated { get; set; }

    /// <summary>
    /// 修改人
    ///</summary>
    [SugarColumn(ColumnName = "Updater", IsNullable = true)]
    public string? Updater { get; set; }

    /// <summary>
    /// 是否删除
    ///</summary>
    [SugarColumn(ColumnName = "IsDel", IsNullable = true)]
    public int? IsDel { get; set; }
}